package com.stu;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.stu.mapper")
//注解自动找包
//注@Target({ElementType.TYPE})
//@Retention(RetentionPolicy.RUNTIME)
//@Documented
//@Inherited
//@SpringBootConfiguration
//@EnableAutoConfiguration
//@ComponentScan(解开发 springbot /*
// 最后  三个必须记住
// */

public class App {
    public static void main(String[] args) {
        //反射 拿到app.class所封装的内容
        SpringApplication.run(App.class,args);


    }
}
